package iuiga.http;

import com.dtflys.forest.annotation.Get;
import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;
import com.dtflys.forest.annotation.Var;
import iuiga.dto.WeChatSendResultDto;
import iuiga.dto.WeChatTokenResultDto;
import iuiga.entity.message.MessageEntity;

public interface BussWeChatRequest {

    @Get("{tokenPath}")
    public WeChatTokenResultDto getToken(@Var("tokenPath") String tokenPath);

    @Post("{sendPath}")
    public WeChatSendResultDto send(@JSONBody MessageEntity message, @Var("sendPath") String sendPath);
}
